package org.jeecg.modules.wechat.constants;

/**
 * 常量
 */
public class WXPayConstants {

    public static final String DOMAIN_API = "https://api.mch.weixin.qq.com/v3";

    //app下单
    public static final String PAY_TRANSACTIONS_APP = "/pay/transactions/app";

    public static final String PAY_TRANSACTIONS_JSAPI = "/pay/transactions/jsapi";
    //微信支付回调
//    public static final String WECHAT_PAY_NOTIFY_URL =
//            "https://deal/api/appPayment/weChatPayNotify";


    //申请退款
    public static final String REFUND_DOMESTIC_REFUNDS = "/refund/domestic/refunds";

    //微信退款回调
//    public static final String WECHAT_REFUNDS_NOTIFY_URL = "https://xxx.xxxx.com/api/appPayment/weChatPayRefundsNotify";

    //关闭订单
    public static final String PAY_TRANSACTIONS_OUT_TRADE_NO_CLOSE = "/pay/transactions/out-trade-no/{}/close";

    //查询订单
    public static final String PAY_TRANSACTIONS_OUT_TRADE_NO_QUERY = "/pay/transactions/out-trade-no/{}?mchid={}";

}
 